Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the OpenFileCallback.

Constructors

Link copied to clipboard
public void OpenFileCallback.Action(Consumer<OpenFile.Response> consumer)

Functions

Link copied to clipboard
public void cancel()
Notifies the browser that the file chooser dialog should be canceled.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void open(Path filePath)
Notifies the browser that the file was selected in the file chooser dialog.